package com.zmn.oms.dubbo.interfaces.zmn.master.additionalorder;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.order.masteradditionalorder.MasterAdditionalOrderPageDRO;
import com.zmn.oms.dubbo.dto.zmn.order.masteradditionalorder.OrderAddressDRO;

import java.util.Date;
import java.util.List;

/**
 * 类描述：工程师加单
 *
 * @author yule
 * @date 2020/5/12 11:19
 */
public interface MasterAdditionalOrderRemoteService {

    /**
     * 通过工程师id 获取工程师加单列表
     *
     * @param masterId
     * @return
     */
    ResponseDTO<MasterAdditionalOrderPageDRO> getAdditionalOrderListByMasterId(Integer masterId, Date month);

    /**
     * 通过工程师id 获取最近3天（含当天）该工程师服务的订单对应的用户地址
     *
     * @param masterId
     * @return
     */
    ResponseDTO<List<OrderAddressDRO>> getThreeDaysOrderAddressByMasterId(Integer masterId);


}
